<!DOCTYPE html>
<html lang="en">

    <head>
        <meta charset="UTF-8">
        <title>二维码</title>
		<script src="__STATIC__/home/js/query-3.0.0.min.js"></script>
		<script src="__STATIC__/home/js/layer/layer.js"></script>
		<script src="__STATIC__/home/js/layui/layui.js"></script>
		<link rel="stylesheet" href="__STATIC__/home/js/layui/css/layui.css">
    </head>

    <body>
	<div class="container">
        <p style="color:#999;text-align:center;margin:100px 0 100px;font-size:20px;;"><b>温馨提示: 请先扫描二维码支付，支付时请注意填写备注信息"单位全称及电话" 然后点击获取账号密码</b></p>

		<div class="layui-col-xs12" style="margin-bottom:50px;">
        <img style="box-shadow:5px 5px 30px #999" class="layui-col-xs2 layui-col-xs-offset3" src="__HOME_IMG__/weixin.jpg" alt="微信" width="50%">
        <img style="box-shadow:5px 5px 30px #999" class="layui-col-xs2 layui-col-xs-offset2" src="__HOME_IMG__/zhifubao.jpg" alt="支付宝" width="50%">
		</div>
		<div style="text-align:center;margin:50px 0 0">
        <span style="height:40px;line-height:40px;font-size:20px;color:#1e9fffab"><b>支付成功后点击</b></span>
        <button class="layui-btn layui-btn-normal" id="password">获取账号密码</button>
		</div>
	</div>
    </body>

    <script src="__HOME_JS__/query-3.0.0.min.js"></script>

    <script>
        $("#password").click(function(){

            $.ajax({
                dataType:'json',
                type:'post',
                url:'{:url("password")}',
                data:{},
                success:function(e){
                    if(e != 2){
						layer.alert('请牢记\r\n账号：'+ e.account+'\r\n密码：'+ e.psd, {
						  icon: 1,
						  skin: 'layer-ext-moon' //该皮肤由layer.seaning.com友情扩展。关于皮肤的扩展规则，去这里查阅
						})

                    }else{
						layer.msg('已没有账号数据');
                    }
                },
                error:function(){
                    layer.msg('数据错误');
                }
            });

        });


    </script>



</html>